package com.foreknow.elmboot.service;


import com.foreknow.elmboot.po.User;

public interface UserService {
    /**
     * 登录
     * @param userId
     * @param password
     * @return
     */
    public User getUserByIdByPass(String userId,String password);

    /**
     * 注册
     * @param user
     * @return
     */
    public int saveUser(User user);
}
